#ifndef MODELCONTROL_H
#define MODELCONTROL_H

#include <QWidget>
#include "src/pub/publics.h"
#include "src/app3DConf.h"


namespace Ui {
class ModelControl;
}

class ModelControl : public QWidget
{
    Q_OBJECT

public:
    explicit ModelControl(QWidget *parent = nullptr);
    ~ModelControl();

private slots:
    void on_pb_machine_clicked();

    void on_pb_robot_clicked();

signals:
    void changePosition(sys::ControlObject,Pos3dzx);    // 绝对位置移动
    void relativePositon(sys::ControlObject,Pos3dzx);    // 相对位置移动
private:
    Ui::ModelControl *ui;

    void initSignals();
};

#endif // MODELCONTROL_H
